import VxeColumn from './vxeColumn';
import toolButtons from './ToolButtons';
import tableAction from './TableAction';
import { VxeGridInstance } from '@/components/VxeTable';
import { ref } from 'vue';
import tableFilter from '@/components/TableFilter/index.vue';

export const TableRef = ref<VxeGridInstance>();
export const TableConfig = {
  Columns: VxeColumn,
  ToolBtn: toolButtons,
  Action: tableAction
};
export const FilterRef = ref<InstanceType<typeof tableFilter>>();
export const Filter = {
  tableFilter,
  FilterRef: ref<InstanceType<typeof tableFilter>>()
};
